/*
 * @Date: 2024-03-04 09:32:21
 * @Autor: 叶世超
 * @LastEditors: 叶世超 yesc163@163.com
 * @LastEditTime: 2024-04-25 14:05:52
 * @FilePath: \reslib-web\src\store\index.ts
 * @Description: 描述
 * @version: 版本
 */
import type { App } from 'vue'
import { createPinia } from 'pinia'

const store = createPinia()

export const setupStore = (app: App<Element>) => {
  app.use(store)
}
export { store }
